package com.android.sms_manager.data;

/**
 * Service Data
 *
 */
public final class MyData {

	/*
	 *this is sms protocol type
	 */
	public static final int PROTOCOL_SMS = 0;
	public static final int PROTOCOL_MMS = 1;
	public static final int PROTOCOL_BOTH = 2;
	
	/*
	 * this is the key word for getting content from the data map
	 */
	
	// belong to which message box
	public static final String KEY_MSG_BOX = "key_msg_box";
	
	// sms title
	public static final String KEY_TITLE = "key_title";

	// sms type
	public static final String KEY_PROTOCOL = "key_protocol";

	// Uri
	public static final String KEY_URI = "key_uri";

	// thread_id
	public static final String KEY_THREAD_ID = "key_thread_id";

	//  _id
	public static final String KEY_ID = "key_id";
	
	// phone number
	public static final String KEY_ADDRESS = "key_address";

	// sms count number
	public static final String KEY_MSG_COUNT = "key_msg_count";

	// content
	public static final String KEY_BODY = "key_body";

	// sms sub title
	public static final String KEY_SUBJECT = "key_subject";
	
	// sms sub
	public static final String KEY_SUB = "key_sub";

	// date
	public static final String KEY_DATE = "key_date";

	// type
	public static final String KEY_TYPE = "key_type";
	
	// name of the sender
	public static final String KEY_NAME = "key_name";

	// the lastest sms content
	public static final String KEY_SNIPPET = "key_snippet";

	// mms non_text extra file content
	public static final String KEY_ANNEX_DATA = "key_annext_data";

	// mms text extra file content
	public static final String KEY_ANNEX_TEXT = "key_annext_text";
	
	// extra file
	public static final String KEY_DATA = "key_all_data";
	
	
		
	/*
	 * this is name of columns for sms searching
	 */

	public static final String COL_TYPE = "type";
	
	public static final String COL_MSG_BOX = "msg_box";
	
	public static final String COL_DATE = "date";

	public static final String COL_THREAD_ID = "thread_id";

	public static final String COL_ID = "_id";

	public static final String COL_CT = "ct";
	
	public static final String COL_CL = "cl";
	
	public static final String COL_BODY = "body";

	public static final String COL_SUB = "sub";
	
	public static final String COL_SUBJECT = "subject";

	public static final String COL_SNIPPET = "snippet";

	public static final String COL_ADDRESS = "address";

	public static final String COL_MSG_COUNT = "msg_count";
	
	public static final String COL_TEXT = "text";
	
	public static final String COL_NAME = "name";

	/*
	 * Uri type
	 */

	// SMS
	public static final String URI_SMS_ALL = "content://sms/";
	public static final String URI_SMS_INBOX = "content://sms/inbox";
	public static final String URI_SMS_SENT = "content://sms/sent";
	public static final String URI_SMS_DRAFT = "content://sms/draft";
	public static final String[]URI_SMS_ARRAY = 
			new String[]{URI_SMS_INBOX,URI_SMS_SENT,URI_SMS_DRAFT};
	// MMS
	public static final String URI_MMS_ALL = "content://mms/";
	public static final String URI_MMS_INBOX = "content://mms/inbox";
	public static final String URI_MMS_SENT = "content://mms/sent";
	public static final String URI_MMS_DRAFT = "content://mms/drafts";
	public static final String[]URI_MMS_ARRAY =
			new String[]{URI_MMS_INBOX,URI_MMS_SENT,URI_MMS_DRAFT};
	// BOTH
	public static final String URI_MMSSMS_CONVERSATION ="content://mms-sms/conversations";
	
	
	/*
	 * type value in the database
	 */
 	
	public static final int TYPE_ALL = 0;
	public static final int TYPE_INBOX = 1;
	public static final int TYPE_SENT = 2;
	public static final int TYPE_DRAFT = 3;
	public static final int TYPE_OUTBOX = 4;
	public static final int TYPE_FAILED = 5;
	public static final int TYPE_QUEUED = 6;

}
